package com.mubolg;

import com.mubolg.constants.Constants;
import com.mubolg.fallback.AppLoginFeignClientFallbackFactory;
import com.mubolg.pojo.param.RegisterSaveLoginParam;
import com.mubolg.result.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = Constants.Remote.SERVICE_UAA,path = "/app/login",contextId = "AppLoginFeignClient",fallbackFactory = AppLoginFeignClientFallbackFactory.class)
public interface AppLoginFeignClient {
    @PostMapping
    R<Void> save(@RequestBody RegisterSaveLoginParam registerSaveLoginParam);

}
